package com.park.platform.service;

import com.park.common.bean.ArticleInputView;
import com.park.common.bean.PageBean;
import com.park.common.poo.ArticleInfo;
import org.springframework.web.multipart.MultipartHttpServletRequest;

import java.io.IOException;
import java.util.Map;

/**
 * Created by Administrator on 2017-04-30.
 */
public interface IArticleService {

    public PageBean getArticles(ArticleInputView articleInputView);

    public Map<String, Object> getArticleDetails(int articleId);

    public ArticleInfo getArticleInfo(int articleId);

    public PageBean getArticlesIN(ArticleInputView articleInputView);

    public Integer saveArticle(ArticleInfo articleInfo, MultipartHttpServletRequest multipartRequest) throws IOException;

    public void newDeleteArticle(int articleId);

}
